package com.designmodel.mediatormodel;

/**
 * Created by
 * 测试类
 * @author touni
 * @date 2019/4/2
 * @time 13:01
 */
public class MainDemo {

    public static void main(String[] args) {
        ContreteMediator contreteMediator = new ContreteMediator(new UserA(),new UserB());

        contreteMediator.receiveA();
        contreteMediator.sendB();




    }


}
